interface routerItem {
    path?: string,
    element?: JSX.Element,
    children?: routerItem[],
    name?: string,
    from?: string,
    to?: string
}

interface loginType {
    username: string,
    code: string
}

interface axiosResponseConfigType {
    code?: number,
    data?: any,
    msg?: string,
    token?: string
}

interface stateType {
    userinfo?: any,
}

interface actionType {
    type: string,
    data: {}
}

interface storeType {
    dispatch: any,
    state: any
}


export type {
    routerItem,
    loginType,
    axiosResponseConfigType,
    stateType,
    actionType,
    storeType
}

